|
|
The Root element is a special element unlike any other Model element.
It is always the first element in every document and cannot be
reordered or renamed. Each document only has one Root element - so it
is not listed in the Elements palette.
Documents are media files that
contain Root elements. A Document element contains the Root element
referenced by its URL. This relationship is dynamic and only exists
during runtime - not in the Outline window. Therefore, none of the
elements in a Document element are targetable.
- Attributes: The Root's position is always 0,0. It is represented by the
documents layout window. It is very similar to a Box element.
- Elements: The Root's main purpose is to hold other
elements, and it can contain any other element except for a Root
element.
- Events: The Root element can contain all the Model
events except for the Movie Message and Hot Panorama events.
- Properties: Root elements are the only element that can
have Properties. A
Document element can access
the public properties of the Root that it contains. The Root
properties can be accessed by the Get Property or Set Property
command and also directly by Property arguments. Changing a
property immediately changes the target attribute. A property can
have multiple target attributes.
|